<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>智慧工地</title>
		<link rel="stylesheet" href="../../css/mui.min.css" />
		<link rel="stylesheet" type="text/css" href="../../css/icons-extra.css" />
		<link rel="stylesheet" type="text/css" href="../../css/master.css" />
		<link rel="stylesheet" type="text/css" href="../../css/find.css" />
		<link rel="stylesheet" href="../../libs/waitMe/waitMe.min.css">
		<!-- 遮罩css -->
	</head>

	<body>
		<header class="mui-bar mui-bar-nav mui-head bg-00BC8D">
			<!--<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>-->
			<h1 class="mui-title text-ffffff">人员管理</h1>
		</header>
		<div class="mui-content find">
			<ul class="mui-table-view">
				<!--<li class="mui-table-view-cell">
					<a class="mui-navigate-right smzryqk" href=""><span class="mui-icon mui-icon-contact">&nbsp;&nbsp;录入人员信息</span></a>
				</li>-->
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right smzryqk" href=""><span class="mui-icon mui-icon-contact">&nbsp;&nbsp;实名制人员情况</span></a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right sgkqtj"><span class="mui-icon mui-icon-map">&nbsp;&nbsp;上工考勤统计</span></a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right jccrytj"><span class="mui-icon mui-icon-location">&nbsp;&nbsp;进出场人员统计</span></a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right zcrytj"><span class="mui-icon mui-icon-personadd">&nbsp;&nbsp;在场人员统计</span></a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right ryqkhz"><span class="mui-icon mui-icon-list">&nbsp;&nbsp;人员情况汇总</span></a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right rylyfb"><span class="mui-icon mui-icon-list">&nbsp;&nbsp;人员来源分布</span></a>
				</li>
				<li class="mui-table-view-cell">
					<a class="mui-navigate-right rynjfb"><span class="mui-icon mui-icon-help">&nbsp;&nbsp;人员年龄分布</span></a>
				</li>
			</ul>
		</div>
		<!--mui-content-->

		<!--foot-->
		<nav class="mui-bar mui-bar-tab mui-bottom">
			<a class="mui-tab-item index sy">
				<span class="mui-icon mui-icon-home"></span>
				<span class="mui-tab-label">首页</span>
			</a>
			<a class="mui-tab-item mui-active">
				<span class="mui-icon mui-icon-find"></span>
				<span class="mui-tab-label">人员管理</span>
			</a>
			<a class="mui-tab-item cl">
				<span class="mui-icon mui-icon-service"></span>
				<span class="mui-tab-label">车辆管理</span>
			</a>
			<a class="mui-tab-item xt">
				<span class="mui-icon mui-icon-set"></span>
				<span class="mui-tab-label">系统管理</span>
			</a>
		</nav>
	</body>

	<script src="../../js/jquery.min.js"></script>
	<!-- jquery -->
	<script src="../../js/mui.min.js"></script>
	<!-- mui -->
	<script src="../../libs/waitMe/waitMe.min.js"></script>
	<!-- 遮罩 -->
	<script src="../../js/setting.js"></script>
	<!-- 配置文件 -->
	<script src="../../js/common.js"></script>
	<!-- 公共方法 -->

	<script>
		var h = mui(document).common();

		//首页返回键处理
		//处理逻辑：1秒内，连续两次按返回键，则退出应用；
		var showMenu = false;
		var first = null;
		mui.back = function() {
			if(showMenu) {
				closeMenu();
			} else {
				//首次按键，提示‘再按一次退出应用’
				if(!first) {
					first = new Date().getTime();
					mui.toast('再按一次退出应用');
					setTimeout(function() {
						first = null;
					}, 2000);
				} else {
					if(new Date().getTime() - first < 1000) {
						plus.runtime.quit();
					}
				}
			}
		};
		
		//实名制人员情况
		mui(".mui-table-view").on('tap', '.smzryqk', function(e) {
			var htype = {
				obj: this,
				url: 'autonym/autonym.html',
				id: 'autonym'
			}
			h.eachClick(htype);
		});
		
		//上工考勤统计
		mui(".mui-table-view").on('tap', '.sgkqtj', function(e) {
			var htype = {
				obj: this,
				url: 'attendance/attendance.html',
				id: 'attendance'
			}
			h.eachClick(htype);
		});
		
		//进出场人员统计
		mui(".mui-table-view").on('tap', '.jccrytj', function(e) {
			var htype = {
				obj: this,
				url: 'mobilisation/mobilisation.html',
				id: 'attendance'
			}
			h.eachClick(htype);
		});
		
		//人员年龄分布
		mui(".mui-table-view").on('tap', '.rynjfb', function(e) {
			var htype = {
				obj: this,
				url: 'personnelAge/personnelAge.html',
				id: 'personnelAge'
			}
			h.eachClick(htype);
		});
		
		//人员来源分布
		mui(".mui-table-view").on('tap', '.rylyfb', function(e) {
			var htype = {
				obj: this,
				url: 'personnelSource/personnelSource.html',
				id: 'personnelSource'
			}
			h.eachClick(htype);
		});
		
		//人员情况汇总
		mui(".mui-table-view").on('tap', '.ryqkhz', function(e) {
			var htype = {
				obj: this,
				url: 'personnelCondition/personnelCondition.html',
				id: 'personnelCondition'
			}
			h.eachClick(htype);
		});
		
		//在场人员统计
		mui(".mui-table-view").on('tap', '.zcrytj', function(e) {
			var htype = {
				obj: this,
				url: 'bescene/bescene.html',
				id: 'bescene'
			}
			h.eachClick(htype);
		});
		
		/*//访客信息统计
		mui(".mui-table-view").on('tap', '.fkxxtj', function(e) {
			var htype = {
				obj: this,
				url: 'visitor/visitor.html',
				id: 'visitor'
			}
			h.eachClick(htype);
		});*/
		
		//点击底部首页
		mui(".mui-bottom").on('tap', '.sy', function(e) {
			var htype = {
				obj: this,
				url: '../index.html',
				id: 'index'
			}
			h.eachClick(htype);
		});

		//点击底部车辆管理
		mui(".mui-bottom").on('tap', '.cl', function(e) {
			var htype = {
				obj: this,
				url: '../car/car.html',
				id: 'car'
			}
			h.eachClick(htype);
		});

		//点击底部系统管理
		mui(".mui-bottom").on('tap', '.xt', function(e) {
			var htype = {
				obj: this,
				url: '../system/system.html',
				id: 'system'
			}
			h.eachClick(htype);
		});
	</script>

</html>